package com.cainiao.mapper;

import com.cainiao.pojo.SysRoleOffice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface SysRoleOfficeMapper {
    /**
     *  根据主键删除数据库的记录,sys_role_office
     *
     * @param roleId
     * @param officeId
     */
    int deleteByPrimaryKey(@Param("roleId") String roleId, @Param("officeId") String officeId);

    /**
     *  新写入数据库记录,sys_role_office
     *
     * @param record
     */
    int insert(SysRoleOffice record);

    /**
     *  动态字段,写入数据库记录,sys_role_office
     *
     * @param record
     */
    int insertSelective(SysRoleOffice record);
}